<%@page import="cn.sendto.model.UserInfoModel"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8" errorPage="err.jsp"%>
<jsp:include page="lock.jsp"></jsp:include>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>菜单</title>
<link rel="stylesheet" type="text/css" href="css/easyui.css">
<link rel="stylesheet" type="text/css" href="css/icon.css">
<script type="text/javascript" src="js/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="js/jquery.easyui.min.js"></script>
<style>
body {
	margin: 0px;
	padding: 0px;
	height: 100%;
	overflow: hidden;
}

a {
	text-decoration:none;
}
</style>
</head>
<body>
	
	<%
		if (session.getAttribute("loginUser") != null) {
			%>
			<div class="easyui-accordion"
		style="width: 180px; height: 400px;; margin: 0px;background: url('img/lbg.jpg');">
		<%
			UserInfoModel uim = (UserInfoModel) session.getAttribute("loginUser");
			if(uim.getType() == 1){
	%>
		<div title="用户管理" data-options="iconCls:'icon-ok'"
			style="overflow: auto; padding: 10px;background: url('img/lbg.jpg');">
			<ul
				style="display: block; height: 35px; line-height: 35px; vertical-align: middle; font-size: 17px;">
				<!-- <li><a href="user/adduser.jsp" target="right">添加用户</a></li> -->
				<li><a href="user/selectuser.jsp" target="right">查询用户</a></li>
				<li><a href="user/userlist.jsp" target="right">用户列表</a></li>

		<!-- 	</ul>
		</div> -->
		<%
			}
		%>
		<!-- <div title="车辆管理" data-options="iconCls:'icon-ok'"
			style="overflow: auto; padding: 10px;background: url('img/lbg.jpg');">
			<ul
				style="display: block; height: 35px; line-height: 35px; vertical-align: middle; font-size: 17px;"> -->
				<li><a href="car/carlist.jsp" target="right">车辆列表</a></li>
			<!-- 	<li><a href="car/addcar.jsp" target="right">添加车辆信息</a></li>
			</ul>
		</div>
		<div title="车位管理" data-options="iconCls:'icon-ok'"
			style="overflow: auto; padding: 10px;background: url('img/lbg.jpg');">
			<ul
				style="display: block; height: 35px; line-height: 35px; vertical-align: middle; font-size: 17px;"> -->
				<li><a href="park/parklist.jsp" target="right">车位列表</a></li>
			<!-- 	<li><a href="park/addpark.jsp" target="right">添加车位</a></li>
			</ul>
		</div>
		<div title="用户分类" data-options="iconCls:'icon-ok'"
			style="overflow: auto; padding: 10px;background: url('img/lbg.jpg');">
			<ul
				style="display: block; height: 35px; line-height: 35px; vertical-align: middle; font-size: 17px;"> -->
				<li><a href="resident/residentlist.jsp" target="right">业主</a></li>
				<li><a href="user/userlist.jsp" target="right">管理员</a></li>
			</ul>
		</div>
	</div>
	<%
		}else{
			
		}
	%>
</body>
</html>